It is important to take the time to review repository changes to make sure that:
Making any changes to windows and controls before they are added to the repository provides a more readable, accurate resulting script with fewer ambiguous control names and better statements for interacting with controls.
Note: You are also prompted to review repository changes if you click the Review recommended repository changes link in the Errors pane after playback.
1. The Repository Changes dialog box opens after recording a script, populating the repository, or applying URL formats.
The number of affected windows and controls and the following information is displayed:
Tip: Select a window or control to view the screenshot that will be saved in the repository. A screenshot is only displayed if repository images are set to update during recording. If a control is selected, it is outlined with a red box in the screenshot. Use the zoom buttons to adjust the image or select Auto Fit to display the entire screenshot.
2. Select Smart matching to allow QA Wizard Pro to automatically select different search criteria if needed.
Smart matching is generally helpful when adding windows and controls to the repository. If this option is selected, the list refreshes and displays the windows and controls to update based on smart matching.
You may not want to select this option if you have an established repository.
Note: Smart matching during recording is currently only available for web scripts.
3. Only add used controls to the repository is selected by default. Clear this option to add all captured controls to the application repository.
You may not want to clear this option if the application contains a large number of controls that you will not test. This can help keep the repository more manageable. If this option is cleared, the list refreshes with the controls to add or modify.
Note: Statements can only perform actions on windows and controls stored in the application repository. You cannot add or edit statements on controls that are not in the repository.
4. Click Save to save the recommended changes or click Don't Save if you want to reject the recommended changes.
You may not want to save the changes if duplicate controls will be added to the repository. This indicates the properties selected as search criteria for the existing control are not unique and you need to modify the criteria.
Tip: If you are recording a script and click Don't Save, the recording is canceled and the script steps are not saved.